<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
</head>
{% include 'menu.html' %}
<body>
<div class="container">
<div class="hero-unit">
  <h1>Heading</h1>
  <p>Tagline</p>
  <p>
    <a class="btn btn-primary btn-large">
      Learn more
    </a>
  </p>
</div>
<div class="row">
	<div class="span4">
    <h3>问题一览：</h3>
    {% for problem in problems %}
        {% for item in problem.getTitleForHome %}
            {% if forloop.counter == 1 %}
                <li><a href="/singleproblem?id={{ item }}">
            {% else %}
                {{ item }}</a></li>
            {% endif %}
        {% endfor %}
    {% endfor %}
    <a href="/problem" class="pull-right">更多 >></a>
    </div>
	<div class="span4">
    <h3>组团吃喝一览：</h3>
    {% for relax in relaxs %}
        {% for item in relax.getTitleForHome %}
            {% if forloop.counter == 1 %}
                <li><a href="/singlerelax?id={{ item }}">
            {% else %}
                {{ item }}</a></li>
            {% endif %}
        {% endfor %}
    {% endfor %}
    <a href="/relax" class="pull-right">更多 >></a>
    </div>
	<div class="span4">
    <h3>吐槽一览：</h3>
    {% for tutsau in tutsaus %}
        {% for item in tutsau.getTitleForHome %}
            {% if forloop.counter == 1 %}
                <li><a href="/singletutsau?id={{ item }}">
            {% else %}
                {{ item }}</a></li>
            {% endif %}
        {% endfor %}
    {% endfor %}
    <a href="/tutsau" class="pull-right">更多 >></a>
    </div>
</div>
</div>
</body>
{% include 'tail.html' %}
</html>
